﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Ex03.VehicalsObjectModel
{
    public interface IElectricVehical
    {
        /// <summary>
        /// Charges the energy system with a given duration
        /// </summary>
        /// <param name="i_AddedDuration">The duration in minutes</param>
        /// <exception cref="ValueOutOfRangeException">When the amount is negative or exceeds the capacity of the system</exception>
        void Charge(int i_AddedMinutes);

        int CurrentDuration { get; }

        int MaximumDuration { get; }
    }
}
